Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: fix store metrics #1261

Merged
merged 2 commits into from
Sep 30, 2018
Merged

server: fix store metrics #1261

merged 2 commits into from
Sep 30, 2018

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Sep 30, 2018

What problem does this PR solve?

When the status of a store becomes tombstone, the metrics which is related to the store won't reset and still leave on Grafana.

What is changed and how it works?

This PR is going to reset these metrics after the status of a store becomes tombstone.

Check List

Tests

  • Manual test

Related changes

  • Need to update the tidb-ansible repository
  • Need to be included in the release notes

@disksing disksing added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 30, 2018
@disksing disksing merged commit 3532c6b into tikv:master Sep 30, 2018
@disksing disksing added the needs-cherry-pick-release-2.1 The PR needs to cherry pick to release-2.1 branch. label Oct 23, 2018
rleungx added a commit to rleungx/pd that referenced this pull request Oct 23, 2018
disksing pushed a commit that referenced this pull request Oct 23, 2018
@nolouch nolouch added the needs-cherry-pick-release-2.0 The PR needs to cherry pick to release-2.0 branch. label Nov 13, 2018
@disksing disksing removed the needs-cherry-pick-release-2.0 The PR needs to cherry pick to release-2.0 branch. label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/metrics Metrics. needs-cherry-pick-release-2.1 The PR needs to cherry pick to release-2.1 branch. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants